
//
//  CategoryModel.m
//  FreeReading
//
//  Created by lanou3g on 15/10/29.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "CategoryModel.h"

@implementation CategoryModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"thumbnail_medias"]) {
        
        self.pic_url = value[0][@"url"];
    } else if ([key isEqualToString:@"weekend"]) {
        
        self.detailUrl = value[@"content_url"];
    }
}

@end
